// import React, { Component } from 'react'

// export default class Test extends Component {
//   state = {
//     c: '123',
//   }
//   render() {
//     return <div>Test, {this.state.c}</div>
//   }
// }

import React from 'react'

export default React.forwardRef(function Test(props, ref) {
  console.log(props, ref)
  return <div ref={ref}>Test</div>
})
